package br.com.hsp.users;

import java.util.Collection;
import javax.persistence.Entity;
import javax.persistence.ManyToMany;

import br.com.hsp.organizacao.Instituicao;

@Entity
public class MedicoClinica extends Usuario{

	private String crm;
	
	@ManyToMany
	private Collection<Instituicao>  clinicas;

	public String getCrm() {
		return crm;
	}

	public void setCrm(String crm) {
		this.crm = crm;
	}

	public Collection<Instituicao> getClinicas() {
		return clinicas;
	}

	public void setClinicas(Collection<Instituicao> clinicas) {
		this.clinicas = clinicas;
	}

	
}
